package com.cmccgz.udacs_landlord_webapp.main.warning.contracts;


import com.cmccgz.udacs_landlord_webapp.bean.WarningDetail;

public interface WarningDetailContract {
    interface View {
        void getDetailSuccess(WarningDetail detail);
        void getDetailError(String msg);

        void deleSuccess();
        void deleError(String msg);

        void confirmSuccess();
        void confirmError(String msg);
    }

    interface Presenter {
        void getDetail(String w_id);
        void deleWarning(String w_id);
        void confirmWarning(String w_id);
    }
}
